package com.irdstudio.efp.esb.api.bean.yx;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.irdstudio.basic.framework.core.annotation.BeanMapKey;
import com.irdstudio.basic.framework.core.annotation.DicType;
import com.irdstudio.efp.esb.api.common.GroupeInterface.bd;
import com.irdstudio.efp.esb.common.constant.nls.ChanFlgEnum;
import com.irdstudio.efp.esb.common.constant.nls.EvTpEnum;

/**
 * 网贷用信查询
  * @author heyingfeng
  * @since 2019年3月13日 下午4:25:48
  * @version 1.0
 */
@JsonPropertyOrder(alphabetic = true)
public class ReqBraQueryBean {
	@BeanMapKey("AppFlowNo")
	@JsonProperty("AppFlowNo")
	@NotEmpty
	@Length(max = 64)
	private String AppFlowNo;// 申请流水号

	@BeanMapKey("ChanFlg")
	@JsonProperty("ChanFlg")
	@NotEmpty
	@Length(max = 3)
	@DicType(dicType = ChanFlgEnum.class, method = "getValue",groups= {bd.class})
	private String ChanFlg;// 渠道
	
	@BeanMapKey("BaiduSnId")
	@JsonProperty("BaiduSnId")
	@Length(max = 64)
	private String BaiduSnId;// 会话ID
	
	@BeanMapKey("EvTp")
	@JsonProperty("EvTp")
	@NotEmpty
	@Length(max = 32)
	@DicType(dicType = EvTpEnum.class, method = "getValue")
	private String EvTp;// 事务类型
	
	@BeanMapKey("EvID")
	@JsonProperty("EvID")
	@NotEmpty
	@Length(max = 64)
	private String EvID;// 事务ID
	
	@BeanMapKey("TxnTmstmp")
	@JsonProperty("TxnTmstmp")
	@NotEmpty
	@Length(max = 14)
	private String TxnTmstmp;//交易时间戳
	
	public String getBaiduSnId() {
		return BaiduSnId;
	}
	public void setBaiduSnId(String baiduSnId) {
		BaiduSnId = baiduSnId;
	}
	public String getEvTp() {
		return EvTp;
	}
	public void setEvTp(String evTp) {
		EvTp = evTp;
	}
	public String getEvID() {
		return EvID;
	}
	public void setEvID(String evID) {
		EvID = evID;
	}
	public String getChanFlg() {
		return ChanFlg;
	}
	public void setChanFlg(String chanFlg) {
		ChanFlg = chanFlg;
	}
	public String getAppFlowNo() {
		return AppFlowNo;
	}
	public void setAppFlowNo(String appFlowNo) {
		AppFlowNo = appFlowNo;
	}
	public String getTxnTmstmp() {
		return TxnTmstmp;
	}
	public void setTxnTmstmp(String txnTmstmp) {
		TxnTmstmp = txnTmstmp;
	}

}
